package com.bub.pay.core.entity.vo.user;

import com.alibaba.fastjson.JSON;
import com.bub.pay.framework.common.entity.model.Page;

import java.util.Date;

/**
 * 总管理 员工查询 接受参数
 *
 */
public class SysUserVo extends Page {
    private Long userId;
    private String userName;
    private String nickName;
    private String email;
    private String phone;
    private Integer state;
    private Integer bindGoogle;
    private Integer resetFlag;
    private String roleName;
    private Date startDate;
    private Date endDate;
    private String roleId;

    private Long createId;
    private Long extendId;
    private Integer userType;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public SysUserVo(String roleId) {
        this.roleId = roleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getBindGoogle() {
        return bindGoogle;
    }

    public void setBindGoogle(Integer bindGoogle) {
        this.bindGoogle = bindGoogle;
    }

    public Integer getResetFlag() {
        return resetFlag;
    }

    public void setResetFlag(Integer resetFlag) {
        this.resetFlag = resetFlag;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Long getExtendId() {
        return extendId;
    }

    public void setExtendId(Long extendId) {
        this.extendId = extendId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public SysUserVo() {
    }

    public SysUserVo(Long userId, String userName, String nickName, String email, String phone, Integer state, Integer bindGoogle, Integer resetFlag, String roleName, Date startDate, Date endDate, String roleId, Long createId, Long extendId, Integer userType) {
        this.userId = userId;
        this.userName = userName;
        this.nickName = nickName;
        this.email = email;
        this.phone = phone;
        this.state = state;
        this.bindGoogle = bindGoogle;
        this.resetFlag = resetFlag;
        this.roleName = roleName;
        this.startDate = startDate;
        this.endDate = endDate;
        this.roleId = roleId;
        this.createId = createId;
        this.extendId = extendId;
        this.userType = userType;
    }
}
